
import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '*', redirect: '/home' },
    { path: '/', redirect: '/home' },

    { path: '/home', name: 'home', component: () => import('../views/home'), props: true, meta: { title: '首页' } }
  ]
})
